package homework00101;

public class Demo6 {

	public static void main(String[] args) {
		for(int i=1;i<100;i++){
			int bai=i/100%10;
			int shi=i/10%10;
			int ge=i%10;
			if(bai==7||shi==7||ge==7||i%7==0){
				System.out.println(i);
			}
		}

	}

}
